package com.xsd.vistor.shopDemo;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description: 商品管理者
 * @Author: zhoufuzong
 * @Created: 2021-03-10 21:50:53
 * @Version: 1.1.0
 */

public class ItemStructure {
    private List<ItemElement> list = new ArrayList<>();

    public void add(ItemElement element){
        list.add(element);
    }
    public void del(ItemElement element){
        list.remove(element);
    }

    public List<ItemElement> getList() {
        return list;
    }
}
